home *** CD-ROM | disk | FTP | other *** search
/ Celestin Apprentice 4 / Apprentice-Release4.iso / Source Code / C / Applications / Portable Patmos / src / portable kernel / mac / console.h < prev    next >
Encoding:
C/C++ Source or Header  |  1996-01-05  |  1.2 KB  |  58 lines  |  [TEXT/KAHL]

  1.  
  2. /*
  3.  *  console.h
  4.  *
  5.  *  Copyright (c) 1991 Symantec Corporation.  All rights reserved.
  6.  *
  7.  */
  8.  
  9. #pragma once
  10.  
  11. #include "stdio.h"
  12.  
  13. #define console_options        __console_options
  14. #define fopenc                __fopenc
  15. #define freopenc            __freopenc
  16. #define cgotoxy                __cgotoxy
  17. #define cgetxy                __cgetxy
  18. #define ccleos                __ccleos
  19. #define ccleol                __ccleol
  20. #define csettabs            __csettabs
  21. #define csetmode            __csetmode
  22. #define cinverse            __cinverse
  23. #define cshow                __cshow
  24. #define chide                __chide
  25. #define cecho2file            __cecho2file
  26. #define cecho2printer        __cecho2printer
  27. #define ccommand            __ccommand
  28.  
  29. extern struct __copt {
  30.     short                top;
  31.     short                left;
  32.     unsigned char        *title;
  33.     short                procID;
  34.     short                txFont;
  35.     short                txSize;
  36.     short                txFace;
  37.     short                nrows;
  38.     short                ncols;
  39.     short                pause_atexit;
  40. } console_options;
  41.  
  42. enum { C_RAW, C_CBREAK, C_NOECHO, C_ECHO };
  43.  
  44. FILE *fopenc(void);
  45. FILE *freopenc(FILE *, FILE *);
  46. void cgotoxy(int, int, FILE *);
  47. void cgetxy(int *, int *, FILE *);
  48. void ccleos(FILE *);
  49. void ccleol(FILE *);
  50. void csettabs(int, FILE *);
  51. void csetmode(int, FILE *);
  52. void cinverse(int, FILE *);
  53. void cshow(FILE *);
  54. void chide(FILE *);
  55. void cecho2file(char *, int, FILE *);
  56. void cecho2printer(FILE *);
  57. int ccommand(char ***);
  58.